// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "MyOverlay.generated.h"

class UProgressBar;
class UTextBlock;

UCLASS()
class NEWMYPROJECT2_API UMyOverlay : public UUserWidget
{
	GENERATED_BODY()
	
public:
	void SetHealBarPercent(float Percent);
	void SetStaminaPercent(float Percent);
	void SetGold(int32 Gold);
	void SetSouls(int32 Souls);
private:
	UPROPERTY(meta=(BindWidget))
	UProgressBar* HealProgressBar;

	UPROPERTY(meta =(BindWidget))
	UProgressBar* StaminaProgressBar;

	UPROPERTY(meta =(BindWidget))
	UTextBlock* GlodText;

	UPROPERTY(meta =(BindWidget))
	UTextBlock* SoulsText;
};
